home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2006 December / PCWDEC06.iso / Software / Trial / Paint Shop Pro XI / Data1.cab / pspscriptmsgs.py < prev    next >
Encoding:
Text File  |  2006-08-04  |  1.6 KB  |  34 lines

  1. #
  2. #   This file contains all error messages.  It must be localized....  The right side of the dictionary
  3. #   entries below require the changes.
  4. #
  5.  
  6. import string
  7.  
  8. #   return PSP Script Editor messages
  9.  
  10. def PSPSEmsgs (error):
  11.  
  12.  
  13.     ErrorMsgs = {"ERROR:Parse11":"Parse Error: Script Properties statement found before import.",
  14.                  "ERROR:Parse12":"Parse Error: Commented PSP Command statement found before import.",
  15.                  "ERROR:Parse13":"Parse Error: Def Do statement found before import.",
  16.                  "ERROR:Parse14":"Parse Error: PSP Command statement found before import.",
  17.                  "ERROR:Parse21":"Parse Error: Import statement found. Def Do expected.",
  18.                  "ERROR:Parse22":"Parse Error: Commented PSP Command statement found before Def Do.",
  19.                  "ERROR:Parse23":"Parse Error: PSP Command statement found before Def Do.",
  20.                  "ERROR:Parse31":"Parse Error: Import statement found. PSP command expected.",
  21.                  "ERROR:Parse32":"Parse Error: Def Do statement found. PSP command expected.",
  22.                  "ERROR:Parse41":"Parse Error: Failed to parse Script Properties parameters.",
  23.                  "ERROR:Parse42":"Parse Error: Failed to parse Script Properties return statement.",
  24.                  "ERROR:Parse51":"Parse Error: Failed to parse PSP command parameter dictionary.",
  25.                  "ERROR:Parse52":"Parse Error: Failed to find the end of a triple quoted documentation block."
  26.                  
  27.                   
  28.                  }
  29.  
  30.     return (ErrorMsgs[error])
  31.  
  32.  
  33.  
  34.